#include"cone.h"

double Cone::volume() const{
    return PI * baseRadius * baseRadius * height / 3;
}

double Cone::area() const{
    return PI * baseRadius * baseRadius + PI * baseRadius * slantHeight;
}